from fastapi import FastAPI
import uvicorn

app = FastAPI()

@app.get('/test')
async def test():
    return {"msg":"hello word"}

@app.post('/jd')
async def jd():
    pass

if __name__ == "__main__":
    uvicorn.run(app='fastApi.app',host='0.0.0.0',port=8002,reload=True)